﻿using OpenNETCF.IoC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IoTCM
{
    public class Module : ModuleInit
    {
        public override void Load()
        {
            // create a local serializer
            var serializer = new XmlSerializer();

            // create a Host instance
            var host = new XmlHost(serializer);

            // inject the host instance into the DI container so the Host app can find it
            RootWorkItem.Items.Add(host);
        }
    }
}
